package com.wing.bill.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.bill.model.entity.WarehouseBill;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.bill.model.entity.WarehouseBillDetail;
import com.wing.bill.model.response.WarehouseBillVO;
import com.wing.common.utils.PageResult;
import com.wing.product.model.response.WarehouseProductVO;

import java.util.List;
import java.util.Map;

public interface WarehouseBillService extends IService<WarehouseBill>{


    Page<WarehouseBillVO> pageList4app(Page pg,  Map<String, Object> paramMap);

    // 判断用户账单是否存在
    WarehouseBill isExistBill(Long customerId);

    // 新增本月账单
    WarehouseBill createBill(Long customerId);

    WarehouseBill settlement(Long id ,Double amount ,String billVoucherUrl);

    WarehouseBillVO selectBill(String id);
}
